package com.yihu.wlyy.repository;

/**
 * Created by Administrator on 2016.08.19.
 */

import com.yihu.wlyy.entity.WlyyQuotaResult;
import com.yihu.wlyy.entity.WlyySignFamilyCode;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;


public interface WlyySignFamilyCodeDao  extends PagingAndSortingRepository<WlyySignFamilyCode, String>, JpaSpecificationExecutor<WlyySignFamilyCode> {
    @Query(" FROM WlyySignFamilyCode a WHERE a.orgCode =?1 ")
    WlyySignFamilyCode findByOrgCode(String hospital);
}
